<?php
require_once '../controller.php';
$g = new Group($params->g);
$form = new Form('delete_course_form','post');
$form->textInput('group_id','',array('value'=>$g->id,'class'=>'invisible'));
$form->text("<p>Do you really wish to delete <b>$g->name</b>? This is not reversible.<br/><br/><div class='center'>");
$form->button('delete_group_submit','Yes',array('type'=>'submit','tabindex'=>'2'),false);
$form->button('delete_group_cancel','No',array('type'=>'button','tabindex'=>'1','onclick'=>'closePopup();'),false);
$form->text('</div>');
die($form->build());